package com.efounder.router.service;

import android.content.Context;

import com.alibaba.android.arouter.facade.Postcard;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.facade.service.PretreatmentService;
import com.efounder.router.constant.RouterConstant;

/**
 * 预处理服务
 */
@Route(path = RouterConstant.GROUP_COMMON_SERVICE + "/PretreatmentService")
public class JFPretreatmentServiceImpl implements PretreatmentService {
    @Override
    public boolean onPretreatment(Context context, Postcard postcard) {
        // 跳转前预处理，如果需要自行处理跳转，该方法返回 false 即可

        return true;
    }

    @Override
    public void init(Context context) {

    }
}